package com.onlygx.dva.web.ui.service;

import com.onlygx.dva.web.ui.entity.BaseInfo;
import com.onlygx.dva.web.ui.entity.dto.BaseInfoSearchDTO;
import com.onlygx.dva.web.ui.entity.vo.BaseInfoShowVO;
import com.onlygx.dva.web.ui.mapper.BaseInfoMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import lombok.RequiredArgsConstructor;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * <p>
 * 功能测试 服务实现类
 * </p>
 *
 * @author GaoXiang
 * @since 2023-08-04
 * @version V1.0
 */
@Service
@RequiredArgsConstructor
public class BaseInfoService extends ServiceImpl<BaseInfoMapper, BaseInfo> implements IService<BaseInfo>{

    final BaseInfoMapper baseInfoMapper;


    public Page<BaseInfoShowVO> pageByParam(Page<BaseInfoSearchDTO> page, BaseInfoSearchDTO param) {

        return baseInfoMapper.pageByParam(page,param);
    }
}
